package com.qf.pojo;

import java.util.Date;

/**
 * 学生实体类, 每个实体类都对应一张表
 * @author 千锋健哥
 */
public class Student {

    //id
    private Integer id;
    //名字
    private String name;
    //年龄
    private Integer age;
    //生日
    private Date birthday;
    //性别
    private Integer sex;
    //班级
    private Integer clazz;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getClazz() {
        return clazz;
    }

    public void setClazz(Integer clazz) {
        this.clazz = clazz;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", birthday=" + birthday +
                ", sex=" + sex +
                ", clazz=" + clazz +
                '}';
    }

}
